{capture name="hidden"}
{/capture}
{capture name="fields"}
	<!--
	<a href="#" onClick="stop=1; this.style.visibility='hidden'; document.getElementById('resume').style.visibility='visible'; return false;" target="_self" id="stop" style=" position:absolute ">stop</a>
	-->	
	<table width="100%" cellpadding="0" cellspacing="0">
		<tr>
			<td style="border:1px solid #666 " valign="middle">
			<div style="position:absolute; width:100%; text-align:center; padding:8px 0px 0px 0px " id="label">{t t='Pašto sistema kraunasi'}</div>
			<table cellpadding="0" cellspacing="0" id="bar">
				<tr>
					<td height="30" bgcolor="#ffffff" align="center"><img src="client/img/spacer.gif" width="1" height="1" border="0" alt="" /></td>		
				</tr>
			</table>
			
			</td>		
		</tr>
	</table>
	<table width="100%" cellpadding="0" cellspacing="0">
		<tr>
			<td style="padding:15px 0px 0px 0px ">{t t='Jei uždarysite šį langą, laiškų siuntimą galėsite bet kada pratęsti iš naujo jį atsidarę. Siuntimas bus pratęstas nuo tos vietos kur buvo nutrauktas.'}</td>		
		</tr>
	</table>
	
	
	<table width="100%" cellpadding="0" cellspacing="0" style="visibility:hidden; position:absolute">
		<tr>
			<td><iframe src="" style="width:100%; height:50px; " id="system" frameborder="0"></iframe></td>		
		</tr>
	</table>
	<table width="100%" cellpadding="0" cellspacing="0" style="visibility:hidden; position:absolute">		
		<tr>
			<td><iframe src="index.php?admin=1&module=letters&mod=jobs&act=load&job_id={$smarty.get.job_id}" style="width:100%; height:250px;" id="log" frameborder="0"></iframe></td>		
		</tr>
	</table>
	<script language="javascript1.4" type="text/javascript">
	window.setTimeout("document.getElementById('system').src='index.php?admin=1&module=letters&mod=jobs&act=go&job_id={$smarty.get.job_id}{if $smarty.get.attachment && ($smarty.get.attachment == "on")}&attachment=on{/if}';", 2000);
	window.document.body.onunload=function(){ldelim}			
		window.opener.location.reload();
		alert('{t t='Laiškų siuntimas sustabdytas.'}');
	{rdelim};			
	</script>
{/capture}